{extend name="main/index" /}
{block name="main"}

<!-- Start right content -->
        <div class="content-page">
			<!-- ============================================================== -->
			<!-- Start Content here -->
			<!-- ============================================================== -->
            <div class="content">
								<!-- Page Heading Start -->
				<div class="page-heading">
            		<h1><i class='fa fa-check'></i> {$title}</h1>
            		            	</div>
            	<!-- Page Heading End-->	
								
				<!-- Your awesome content goes here -->
				<div class="row">
					
					<div class="col-sm-6 portlets">
						
						<div class="widget">
							<div class="widget-header transparent">
								<h2><strong>给{$content['name']}添加class</strong> Form</h2>
								<div class="additional-btn">
									<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
									<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
									<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
								</div>
							</div>
							<div class="widget-content padding">							
								<div id="basic-form">
									<form role="form" action="/do_class/" method="post" enctype="multipart/form-data">
									  <div class="form-group">
										<label for="exampleInputEmail1">courseid</label>
										<input type="text" class="form-control" id="exampleInputEmail1"  name="courseid" value="{$content['courseid']}" readonly>
									  </div>
									  <div class="form-group">
										<label for="exampleInputPassword1">class名</label>
										<input type="text" class="form-control" id="exampleInputPassword1" placeholder="本节课名字" name="name">
										<p>小节课为2-16位中文汉字或者字母数字</p>
									  </div>
									  <div class="form-group">
										<label for="exampleInputPassword1">pid</label>
										<input type="text" class="form-control" id="exampleInputPassword1" name="pid" value="{$content['id']}" readonly>
									  </div>
									  <div class="form-group">
										<label for="exampleInputPassword1">级别</label>
										<input type="text" class="form-control" id="exampleInputPassword1" value="{$content['level']}" name="level" readonly>
									  </div>
									  <div class="form-group">
										<label for="exampleInputPassword1">是否显示</label>
										<select class="form-control" name="display">
										
										    <option value='1'>显示</option>
										    <option value='0'>隐藏</option>
										    
										</select>
									  </div>
									  <div class="form-group">
										<input type="file" class="btn btn-default" title="请选择视频文件" name="video">
										<p class="help-block">请上传本节课视频</p>
									  </div>
									  <button type="submit" class="btn btn-default">添加</button>
									</form>
								</div>
							</div>
						</div>
						
					</div>
					
					
					
				</div>
				
				
				<!-- End of your awesome content -->
			
				            <!-- Footer Start -->
            <footer>
                Huban Creative &copy; 2014
                <div class="footer-links pull-right">
                	<a href="#">About</a><a href="#">Support</a><a href="#">Terms of Service</a><a href="#">Legal</a><a href="#">Help</a><a href="#">Contact Us</a>
                </div>
            </footer>
            <!-- Footer End -->			
            </div>
			<!-- ============================================================== -->
			<!-- End content here -->
			<!-- ============================================================== -->

        </div>
		<!-- End right content -->
{/block}